From: Juri Linkov Date: Thu, 12 Dec 2019 23:47:03 +0000 (+0200) Subject: * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~754 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9eaad4de02798c7d71357ac9dced9f5f8af7a9b3;p=emacs.git * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'. --- diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index d68ed966f82..04a640c82c3 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -4603,7 +4603,7 @@ instrumentation for, defaulting to all functions." (push symbol functions))) obarray) (unless functions - (error "Found no functions to remove instrumentation from")) + (user-error "Found no functions to remove instrumentation from")) (let ((name (completing-read "Remove instrumentation from (default all functions): "